<template>
    <div style="height: 12vh;"></div>
    <div style="display: flex;flex-direction: column;align-items: center;line-height: 3em;">
        <div>404</div>
        <div>页面未找到</div>
        <Button @click="router.back" type="primary" style="height: 2.4em;">返回</Button>
        <Button @click="router.replace('/')" style="height: 2.4em;">返回首页</Button>
    </div>
</template>
<script lang="ts" setup>
import { useRouter } from "vue-router";
import { Button } from "vant";

const router = useRouter();
</script>